//
//  UIColor+HexColor.h
//  SleepingElf
//
//  Created by karong on 2023/6/6.

#import <UIKit/UIKit.h>

@interface UIColor (HexColor)
/*!
 * @method 通过16进制计算颜色
 * @abstract
 * @discussion
 * @param 16机制
 * @result 颜色对象
 */
+ (UIColor *)colorFromHexRGB:(NSString *)inColorString;

+ (UIColor *)colorFromHexRGB:(NSString *)inColorString alpha:(CGFloat)alpha;

+ (UIColor *)colorWithLightColor:(UIColor *)lightColor darkColor:(UIColor *)darkColor;

+ (UIColor *)colorWithLightRGB:(NSString *)lightRGB darkRGB:(NSString *)darkRGB;

+ (UIColor *)colorSameWithRGB:(NSString *)RGB;

/// 主題蓝色
@property (class, nonatomic, readonly) UIColor *font_blue_8BA8F2;
/// 灰色字体
@property (class, nonatomic, readonly) UIColor *font_gray_999999;
/// 灰色字体
@property (class, nonatomic, readonly) UIColor *font_gray_727584;
/// 黑色字体
@property (class, nonatomic, readonly) UIColor *font_black_333333;
/// 背景灰色
@property (class, nonatomic, readonly) UIColor *bg_gray_f7f7f7;
/// 選中灰色
@property (class, nonatomic, readonly) UIColor *bg_gray_f2f2f2;
/// 蒙层 50%透明
@property (class, nonatomic, readonly) UIColor *mask_black_50p;

@end
